G.util.post = function(url, data, okfn){
	G.util.post.pIndex = (G.util.post.pIndex || 0) + 1;
	var iframe = $('<iframe name="pIframe_'+G.util.post.pIndex+'" src="about:blank" style="display:none" width="0" height="0" scrolling="no" allowtransparency="true" frameborder="0"></iframe>').appendTo($(document.body));

	var ipts = [];
	$.each(data, function(k, v){
		ipts.push('<input type="hidden" name="'+k+'" value="" />');
	});
	
	if(!/(\?|&(amp;)?)fmt=[^0 &]+/.test(url)) url += (url.indexOf('?') > 0 ? '&' : '?') + 'fmt=1';

	var form = $('<form action="'+url+'" method="post" target="pIframe_'+G.util.post.pIndex+'">'+ipts.join('')+'</form>').appendTo($(document.body));

	$.each(data, function(k, v){
		form.children('[name='+k+']').val(v);
	});

	iframe[0].callback = function(o){
		if(typeof okfn == 'function') okfn(o);
		$(this).src = 'about:blank';
		$(this).remove();
		form.remove();
		iframe = form = null;
	};
	if($.browser.msie && $.browser.version == 6.0){
		iframe[0].pIndex = G.util.post.pIndex;
		iframe[0].ie6callback = function(){
			form.target = 'pIframe_' + this.pIndex;
			form.submit();
		};
		iframe[0].src = 'http://st.51buy.com/static_v1/htm/ie6post.htm';
	} else {
		form.submit();
	}
};